import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ViewUI from 'view-design'
import 'view-design/dist/styles/iview.css'
import config from '@/config'
import '@/assets/icons/iconfont.css'
import md5 from 'js-md5'
import * as echarts from 'echarts'


Vue.config.productionTip = false
/**
 * @description 全局注册应用配置
 */
Vue.prototype.$config = config

/**
 * @description md5加密
 */
Vue.prototype.$md5 = md5

/**
 * @description 图表
 */
Vue.prototype.$echarts = echarts

Vue.use(ViewUI)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
